:: This script must be run before you can run the unit tests

@ECHO ON

setlocal

cd HelixTests

::Set the test suites to be run 
set testSuites=
for %%F in (*Test*.h) do call :forloop %%~nxF
:return
goto endloop

:forloop
set testSuites=%testSuites% %1
goto :EOF
:endloop

::run the script
::HelixTestSuite.h HMathTests.h HXMLTestSuite.h ExHandlerTestSuite.h HImageTestSuite.h
C:\Perl\bin\perl.exe -w cxxtestgen.pl --gui=Win32Gui -o runner.cpp %testSuites%

cd ..